package fr.ece.ing4.si.gui;

import javax.swing.*;

public class GraphPanel extends JPanel {
	
	private Graph speedupGraph;
	private Graph timeConsumptionGraph;
	private JPanel speedupP = new JPanel();
	private JPanel timeConsumptionP = new JPanel();
	
	
	//public GraphPanel(JPanel speedupP, JPanel timeConsumptionP) {
	public GraphPanel() {
		
		speedupGraph = new Graph(speedupP, "Speedup", "Speed", "Speed", "Threads");
		timeConsumptionGraph = new Graph(timeConsumptionP, "Time Consumption", "Time", "Time", "Threads");
		
		this.add(speedupP);
		this.add(timeConsumptionP);
		
	}

}
